New research reveals that the brains flexibility comes from its ability to reuse cognitive building blocks across many tasks, allowing rapid adaptation with minimal relearning. By studying monkeys performing a set of related categorization tasks, researchers found that the prefrontal cortex combines and recombines shared neural patterns like components in a modular system.